package com.luobd.bpm.business.process.input;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(description = "创建流程定义")
public class ProcessDefinitionInput {


    @ApiModelProperty(value = "流程定义id")
    private Long id;

    @ApiModelProperty(value = "流程定义名称",required = true)
    @NotBlank(message = "流程定义名称不能为空")
    private String name;

    @ApiModelProperty(value = "流程定义key",required = true)
    private String processKey;

    @ApiModelProperty(value = "流程定义分类")
    private String category;

    @ApiModelProperty(value = "流程定义备注")
    private String remark;




}
